package com.anyou.mall.sho.mapper;

import java.util.List;

import com.anyou.mall.sho.domain.CarPartsShop;
import com.anyou.mall.sho.domain.CarPartsShopAudit;
import com.anyou.mall.sho.vo.CarPartsShopAuditListVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;


/**
 * 汽配商入住审核Mapper接口
 *
 * @author gaochaohao
 * @date 2022-03-18
 */
public interface CarPartsShopAuditMapper  extends BaseMapper<CarPartsShopAudit>
{
    /**
     * 查询汽配商入住审核
     *
     * @param carPartsShopAuditId 汽配商入住审核主键
     * @return 汽配商入住审核
     */
    public CarPartsShopAudit selectCarPartsShopAuditByCarPartsShopAuditId(Long carPartsShopAuditId);

    /**
     * 查询汽配商入住审核列表
     *
     * @param carPartsShopAudit 汽配商入住审核
     * @return 汽配商入住审核集合
     */
    public List<CarPartsShopAuditListVo> selectCarPartsShopAuditList(CarPartsShopAudit carPartsShopAudit);

    /**
     * 新增汽配商入住审核
     *
     * @param carPartsShopAudit 汽配商入住审核
     * @return 结果
     */
    public int insertCarPartsShopAudit(CarPartsShopAudit carPartsShopAudit);

    /**
     * 修改汽配商入住审核
     *
     * @param carPartsShopAudit 汽配商入住审核
     * @return 结果
     */
    public int updateCarPartsShopAudit(CarPartsShopAudit carPartsShopAudit);

    /**
     * 删除汽配商入住审核
     *
     * @param carPartsShopAuditId 汽配商入住审核主键
     * @return 结果
     */
    public int deleteCarPartsShopAuditByCarPartsShopAuditId(Long carPartsShopAuditId);

    /**
     * 批量删除汽配商入住审核
     *
     * @param carPartsShopAuditIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCarPartsShopAuditByCarPartsShopAuditIds(Long[] carPartsShopAuditIds);

    /**
     * 根据商家id查询汽配商名称
     * @param storeId
     * @return
     */
    String selectShopName(Long storeId);

    /**
     * 根据汽配商审核id获取汽配商审核详情
     * @param carPartsShopAuditId
     * @return
     */
    public CarPartsShopAuditListVo selectCarPartsShopAuditDetailsByCarPartsShopAuditId(Long carPartsShopAuditId);
}
